import java.util.Observable;


public class Employee extends Observable{

	 float salary;
     
     public void setSalary(float salary)
     {
             this.salary=salary;
             setChanged(); //mark that this object has changed ,MANDATORY
             notifyObservers(new Float(salary));
     }


}
